#include <GameGlobals.h>

#include <Camera.h>
#include <Physics.h>
#include <ObjectManager.h>
#include <GraphicData.h>
#include <PlayerInterface.h>

namespace External
{
	//Variables that allow access to objects created other places in the game
	Camera* camera = 0;
	ObjectManager* objects = 0;
	RenderManager* renderer = 0;
	PhysicsManager* physics = 0;
	PlayerInterface* player = 0;
}

namespace Global
{
	///global variables
	namespace Mouse
	{
		vec2 ScreenPos(0,0);
		vec2 WorldPos(0,0);
		Button::buttontype ButtonStates = 0;
	}
	vec2 GameWorldSize(10000.0f,10000.0f);
	truth DebugState = 0;

	void SetDebugMode(truth state)
	{
		DebugState = state;
		External::camera->SetDebugMode(state);
		External::physics->SetDebugMode(state);
	}






}